Optimal. Leaf size=371 \[ \frac{4 a b x \sqrt{d-c^2 d x^2}}{15 c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{c x-1} \sqrt{c x+1}}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{2 b x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt{c x-1} \sqrt{c x+1}}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}+\frac{2}{125} b^2 x^4 \sqrt{d-c^2 d x^2}+\frac{22 b^2 x^2 \sqrt{d-c^2 d x^2}}{3375 c^2}-\frac{856 b^2 \sqrt{d-c^2 d x^2}}{3375 c^4}+\frac{4 b^2 x \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt{c x-1} \sqrt{c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.05567, antiderivative size = 371, normalized size of antiderivative = 1., number of steps used = 17, number of rules used = 9, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.31, Rules used = {5798, 5743, 5759, 5718, 5654, 74, 5662, 100, 12} \[ \frac{4 a b x \sqrt{d-c^2 d x^2}}{15 c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{c x-1} \sqrt{c x+1}}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{2 b x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt{c x-1} \sqrt{c x+1}}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}+\frac{2}{125} b^2 x^4 \sqrt{d-c^2 d x^2}+\frac{22 b^2 x^2 \sqrt{d-c^2 d x^2}}{3375 c^2}-\frac{856 b^2 \sqrt{d-c^2 d x^2}}{3375 c^4}+\frac{4 b^2 x \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt{c x-1} \sqrt{c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5743
Rule 5759
Rule 5718
Rule 5654
Rule 74
Rule 5662
Rule 100
Rule 12
Rubi steps
\begin{align*} \int x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx &=\frac{\sqrt{d-c^2 d x^2} \int x^3 \sqrt{-1+c x} \sqrt{1+c x} \left (a+b \cosh ^{-1}(c x)\right )^2 \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{\sqrt{d-c^2 d x^2} \int \frac{x^3 \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{5 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (2 b c \sqrt{d-c^2 d x^2}\right ) \int x^4 \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{5 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2-\frac{\left (2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x \left (a+b \cosh ^{-1}(c x)\right )^2}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{15 c^2 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (2 b \sqrt{d-c^2 d x^2}\right ) \int x^2 \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{15 c \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (2 b^2 c^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x^5}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{25 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{2}{125} b^2 x^4 \sqrt{d-c^2 d x^2}+\frac{2 b x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{\left (2 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{4 x^3}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{125 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (2 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x^3}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{45 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (4 b \sqrt{d-c^2 d x^2}\right ) \int \left (a+b \cosh ^{-1}(c x)\right ) \, dx}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{2 b^2 x^2 \sqrt{d-c^2 d x^2}}{135 c^2}+\frac{2}{125} b^2 x^4 \sqrt{d-c^2 d x^2}+\frac{4 a b x \sqrt{d-c^2 d x^2}}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{\left (8 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x^3}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{125 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (4 b^2 \sqrt{d-c^2 d x^2}\right ) \int \cosh ^{-1}(c x) \, dx}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (2 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{2 x}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{135 c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=\frac{22 b^2 x^2 \sqrt{d-c^2 d x^2}}{3375 c^2}+\frac{2}{125} b^2 x^4 \sqrt{d-c^2 d x^2}+\frac{4 a b x \sqrt{d-c^2 d x^2}}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{4 b^2 x \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{\left (8 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{2 x}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{375 c^2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (4 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{135 c^2 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (4 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{15 c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{8 b^2 \sqrt{d-c^2 d x^2}}{27 c^4}+\frac{22 b^2 x^2 \sqrt{d-c^2 d x^2}}{3375 c^2}+\frac{2}{125} b^2 x^4 \sqrt{d-c^2 d x^2}+\frac{4 a b x \sqrt{d-c^2 d x^2}}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{4 b^2 x \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2+\frac{\left (16 b^2 \sqrt{d-c^2 d x^2}\right ) \int \frac{x}{\sqrt{-1+c x} \sqrt{1+c x}} \, dx}{375 c^2 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{856 b^2 \sqrt{d-c^2 d x^2}}{3375 c^4}+\frac{22 b^2 x^2 \sqrt{d-c^2 d x^2}}{3375 c^2}+\frac{2}{125} b^2 x^4 \sqrt{d-c^2 d x^2}+\frac{4 a b x \sqrt{d-c^2 d x^2}}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{4 b^2 x \sqrt{d-c^2 d x^2} \cosh ^{-1}(c x)}{15 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2 b x^3 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{45 c \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 b c x^5 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{25 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^4}-\frac{x^2 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2}{15 c^2}+\frac{1}{5} x^4 \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^2\\ \end{align*}
Mathematica [A] time = 0.427265, size = 237, normalized size = 0.64 \[ \frac{\sqrt{d-c^2 d x^2} \left (225 a^2 \left (c^2 x^2-1\right )^2 \left (3 c^2 x^2+2\right )-30 a b c x \sqrt{c x-1} \sqrt{c x+1} \left (9 c^4 x^4-5 c^2 x^2-30\right )+30 b \cosh ^{-1}(c x) \left (15 a \left (3 c^2 x^2+2\right ) \left (c^2 x^2-1\right )^2+b c x \sqrt{c x-1} \sqrt{c x+1} \left (-9 c^4 x^4+5 c^2 x^2+30\right )\right )+2 b^2 \left (27 c^6 x^6-16 c^4 x^4-439 c^2 x^2+428\right )+225 b^2 \left (c^2 x^2-1\right )^2 \left (3 c^2 x^2+2\right ) \cosh ^{-1}(c x)^2\right )}{3375 c^4 \left (c^2 x^2-1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.544, size = 1284, normalized size = 3.5 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.27616, size = 753, normalized size = 2.03 \begin{align*} \frac{225 \,{\left (3 \, b^{2} c^{6} x^{6} - 4 \, b^{2} c^{4} x^{4} - b^{2} c^{2} x^{2} + 2 \, b^{2}\right )} \sqrt{-c^{2} d x^{2} + d} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right )^{2} - 30 \,{\left (9 \, a b c^{5} x^{5} - 5 \, a b c^{3} x^{3} - 30 \, a b c x\right )} \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1} - 30 \,{\left ({\left (9 \, b^{2} c^{5} x^{5} - 5 \, b^{2} c^{3} x^{3} - 30 \, b^{2} c x\right )} \sqrt{-c^{2} d x^{2} + d} \sqrt{c^{2} x^{2} - 1} - 15 \,{\left (3 \, a b c^{6} x^{6} - 4 \, a b c^{4} x^{4} - a b c^{2} x^{2} + 2 \, a b\right )} \sqrt{-c^{2} d x^{2} + d}\right )} \log \left (c x + \sqrt{c^{2} x^{2} - 1}\right ) +{\left (27 \,{\left (25 \, a^{2} + 2 \, b^{2}\right )} c^{6} x^{6} - 4 \,{\left (225 \, a^{2} + 8 \, b^{2}\right )} c^{4} x^{4} -{\left (225 \, a^{2} + 878 \, b^{2}\right )} c^{2} x^{2} + 450 \, a^{2} + 856 \, b^{2}\right )} \sqrt{-c^{2} d x^{2} + d}}{3375 \,{\left (c^{6} x^{2} - c^{4}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{3} \sqrt{- d \left (c x - 1\right ) \left (c x + 1\right )} \left (a + b \operatorname{acosh}{\left (c x \right )}\right )^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: NotImplementedError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]